home *** CD-ROM | disk | FTP | other *** search
- Path: bigblue.oit.unc.edu!not-for-mail
- From: Tong Liu <tongliu@xerxes.cpc.unc.edu>
- Newsgroups: comp.lang.c++
- Subject: C++ to C?
- Date: 7 Feb 1996 16:57:45 GMT
- Organization: The University of North Carolina at Chapel Hill
- Message-ID: <4falm9$11vs@bigblue.oit.unc.edu>
- NNTP-Posting-Host: xerxes.cpc.unc.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.12 (X11; I; AIX 2)
- X-URL: news:comp.lang.c++
-
- I have written a C++ program (on machine A with C++ compiler) that I'd like to
- port to a UNIX machine B without C++ compiler. Is there a way to precompile
- the program into C and then move the C source to the machine (without C++
- compiler) and use the C compiler to generate the executable? If so, how to do
- it?
-
- Any suggestions?
- --
- Tong Liu
- systems programmer, Carolina Population Center
- Email: tongliu@xerxes.cpc.unc.edu
-
-